TECGetTextEncodingInternetName
Returns the Internet encoding name that corresponds to the specified Mac OS text encoding.
pascal OSStatus TECGetTextEncodingInternetName ( TextEncoding textEncoding, Str255 encodingName);
textEncoding
- The text encoding specification for the encoding whose Internet encoding name you want to obtain.
encodingName
- The Internet encoding name. On return, this holds a character string in 7-bit US ASCII that represents the text encoding specified by the
textEncoding
parameter.- function result
- A result code. See "Text Encoding Conversion Manager Result Codes" (page 42) for a list of possible values.
DISCUSSION
If there are several Internet encoding names for the same text encoding, the function returns the preferred name. This function performs the opposite action ofTECGetTextEncodingFromInternetName
(page 76).SEE ALSO
The functionGetTextEncodingName
(page 52)